% Loads the selected training data and exports a mat file with the input
% and target vectors (Pn, Tn) for the nn training.

loadTrainingData(1, 'train_1_15_kops.txt', [14.125 15.125], [12.125 13.5], 256);
loadTrainingData(2, 'train_1_17_kops.txt', [14.825 15.75], [13.875 14.5], 256);
loadTrainingData(3, 'train_2_14_kops.txt', [0.75 2.625], [2.875 4.875], 256);
loadTrainingData(4, 'train_2_14_kops.txt', [10.75 12.5], [7 8.375], 256);
loadTrainingData(5, 'train_3_3_kops.txt', [4.375 7.375], [13.125 13.625], 256);
loadTrainingData(6, 'train_3_16_kops.txt', [13.875 15.875], [1.875 3.625], 256);

loadTrainingData(7, 'train_1_6_nikas.txt', [11.875 13], [14 16], 512);
loadTrainingData(8, 'train_1_8_nikas.txt', [13.125 15.5], [5 6.375], 512);
loadTrainingData(9, 'train_2_14_nikas.txt', [10.875 12.225], [5.125 9.75], 512);
loadTrainingData(10, 'train_2_16_nikas.txt', [8.75 10.25], [4.875 6.125], 512);
loadTrainingData(11, 'train_3_2_nikas.txt', [2.5 4], [4.625 7.625], 512);
loadTrainingData(12, 'train_3_19_nikas.txt', [9 11.25], [3.25 4.25], 512);

loadTrainingData(13, 'train_1_3_pier.txt', [0.75 2.125], [2.75 3.375], 512);
loadTrainingData(14, 'train_1_9_pier.txt', [1.875 2.875], [6.75 7.5], 512);
loadTrainingData(15, 'train_2_6_pier.txt', [8.625 10], [10.375 11.625], 512);
loadTrainingData(16, 'train_2_15_pier.txt', [8.125 8.875], [0.5 2.5], 512);
loadTrainingData(17, 'train_3_7_pier.txt', [15.125 16], [5.125 6.375], 512);
trainingData = loadTrainingData(18, 'train_3_15_pier.txt', [7.5 9], [13.25 13.875], 512);


exportTrainingData(trainingData);
